﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MethodWorx.Core.DomainModel;

namespace MethodWorx.CMS.Membership
{
    public interface IUserRepository : IRepository<User>
    {
        //return a single user by the user name (e-mail)
        User FindByName(string username);
        
        //return users or members
        IEnumerable<User> GetUsersByUserType(UserType userType);

        IEnumerable<string> GetAttributes(UserType userType);
    }
}
